<div class="modal-body single-body">
        <div class="span4 centralize">
            <legend>请登录</legend>
            <div class="alert alert-error" style="display:none" ng-show="error">
                <a class="close" href="javascript:void(0)" ng-click="error=false">×</a>用户名或密码错误!
            </div>
            <form method="POST" action="" accept-charset="UTF-8">
                <input type="text" ng-model="email" class="span4" name="email" placeholder="用户名或邮箱" autocomplete="off">
                <input type="password" ng-model="password" class="span4" name="password" placeholder="密码" autocomplete="off" ui-keydown="{13:'login(email, password)'}">
                <label class="checkbox">
                    <input type="checkbox" name="remember" value="1"> 记住我
                </label>
                <button type="submit" name="submit" class="btn btn-info btn-block" ng-click="login(email, password)">登录</button>
            </form>
        </div>
</div>

